check session in blade laravel

32

session has laravel blade -

@if(Session::has('error'))
<div class="alert alert-danger">
  {{ Session::get('error')}}
</div>
@endif

Comments

Submit
0 Comments